﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Core.Configuration
{
    /// <summary>
    /// The data section. Holds the default provider and the collection.
    /// </summary>
    public class ConfigSection : ConfigurationSection
    {

        [ConfigurationProperty("defaultProvider")]
        public string DefaultProvider
        {
            get { return ((string)(base["defaultProvider"])); }
            set { base["defaultProvider"] = value; }
        }

        [ConfigurationProperty("providers")]
        public ProviderSettingsCollection Providers
        {
            get { return ((ProviderSettingsCollection)(base["providers"])); }
        }
    }
}
